<template>
  <div id="app">
<!--      头部导航组件-->
      <Header></Header>

      <router-view :key="$route.fullPath" />
<!--      底部导航组件-->
      <Bottom></Bottom>
  </div>
</template>

<script>
    // 头
    import Header from '../src/components/TopIndex'
    // 底
    import Bottom from '../src/components/BottomIndex'
export default {
  name: 'App',
    components: {
        Header,
        Bottom
    },
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
